<#include "../../page.ftl" />
<table class="table table-datatable table-gray">
    <thead>
    <tr>
        <th style="width: 35px;"><input id="checkAll" type="checkbox" value=""></th>
        <th>模块ID</th>
        <th>权限ID</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <#if moduleAuthsTable.rows??>
        <#list moduleAuthsTable.rows as moduleAuth>
        <tr>
            <td><input name="ids" type="checkbox" value="${moduleAuth.id?c}"></td>
            <td>${moduleAuth.moduleId!''}</td>
            <td>${moduleAuth.authId!''}</td>
            <td>
                <a class="btn btn-green btn-radio nopadding" onclick="return popAddOrModify(${moduleAuth.id?c});"
                   title="编辑"><i class="fa fa-edit"></i></a>
        </tr>
        </#list>
    </#if>
    </tbody>
</table>
<#if moduleAuthsTable??>
    <@page table=moduleAuthsTable formId="search_moduleAuth_table"/>
</#if>